import type { IPageQuery } from '@/api/interface'

export namespace ISysPost {

  // 查询条件
  export interface Query extends IPageQuery {
    postCode?: string
    postName?: string
  }

  // 编辑form表单
  export interface Form {
    postId?: number
    postCode?: string
    postName?: string
    sort?: number
    remark?: string
 }

  // list或detail返回结构
  export interface Row {
    postId?: number
    postCode?: string
    postName?: string
    sort?: number
    isDisable?: string
    remark?: string
  }

  export interface PostSetting {
    userIds: number[]
    postIds: number[]
  }

}